﻿/**
 * reset-after.css contains a reset that must be added after custom css
 * 
 * Derived from:
 *   HTML5 ✰ Boilerplate
 *     "Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal, Kroc Camen, and the H5BP dev community 
 *     and team"
 */


/***| non-semantic helper classes |************************************************************************************/

/* image replacement */
.ir { display:block; text-indent:-999em; overflow:hidden; background-repeat:no-repeat; text-align:left; direction:ltr; }
.ir br { display:none; }

/* hide for both screenreaders and browsers @ http://css-discuss.incutio.com/wiki/Screenreader_Visibility */
.hidden { display:none; visibility:hidden; }

/* hide only visually, but have it available for screenreaders @ http://www.webaim.org/techniques/css/invisiblecontent/  &  http://j.mp/visuallyhidden */
.visuallyhidden { border:0; clip:rect(0 0 0 0); height:1px; margin:-1px; overflow:hidden; padding:0; position:absolute; width:1px; }

/* extends the .visuallyhidden class to allow the element to be focusable when navigated to via the keyboard @ http://drupal.org/node/897638 */
.visuallyhidden.focusable:active, .visuallyhidden.focusable:focus { clip:auto; height:auto; margin:0; overflow:visible; position:static; width:auto; }

/* hide visually and from screenreaders, but maintain layout */
.invisible { visibility:hidden; }

/* contain floats @ http://nicolasgallagher.com/micro-clearfix-hack/ */ 
.clearfix:before, .clearfix:after { content:""; display:table; }
.clearfix:after { clear:both; }
.clearfix { zoom:1; }


/***| print |**********************************************************************************************************/

/* inline to avoid required http connection @ http://www.phpied.com/delay-loading-your-print-css/ */
@media print {
  * { background:transparent !important; color:black !important; text-shadow:none !important; filter:none !important; -ms-filter:none !important; } /* Black prints faster:sanbeiji.com/archives/953 */
  a, a:visited { color:#444 !important; text-decoration:underline; }
  a[href]:after { content:" (" attr(href) ")"; }
  abbr[title]:after { content:" (" attr(title) ")"; }
  .ir a:after, a[href^="javascript:"]:after, a[href^="#"]:after { content:""; }  /* Don't show links for images, or javascript/internal links */
  pre, blockquote { border:1px solid #999; page-break-inside:avoid; }
  thead { display:table-header-group; } /* css-discuss.incutio.com/wiki/Printing_Tables */
  tr, img { page-break-inside:avoid; }
  img { max-width:100% !important; }
  @page { margin:0.5cm; }
  p, h2, h3 { orphans:3; widows:3; }
  h2, h3{ page-break-after:avoid; }
}
